package com.yanqu.road.entity.log.langyabang;

import com.yanqu.road.entity.FieldTypeAnnotation;

import java.util.Date;

@FieldTypeAnnotation(tableName = "t_c_lang_ya_upgrade_building_log")
public class LogLangYaBangUpgradeBuilding {
    @FieldTypeAnnotation(desc = "活动ID", isIndex = true)
    private int activityId;
    @FieldTypeAnnotation(desc = "用户ID", isIndex = true)
    private long userId;
    @FieldTypeAnnotation(desc = "旧区域id")
    private int oldAreaLevel;
    @FieldTypeAnnotation(desc = "新区域id")
    private int newAreaLevel;
    @FieldTypeAnnotation(desc = "消耗前金币")
    private long coinBefore;
    @FieldTypeAnnotation(desc = "消耗金币")
    private long costCoin;
    @FieldTypeAnnotation(desc = "消耗后金币")
    private long coinAfter;
    @FieldTypeAnnotation(desc = "升阶奖励")
    private String upgradeJieJiReward;
    @FieldTypeAnnotation(desc = "时间")
    private Date date;

    public LogLangYaBangUpgradeBuilding(int activityId, long userId, int oldAreaLevel, int newAreaLevel, long coinBefore, long costCoin, long coinAfter, String upgradeJieJiReward, Date date) {
        this.activityId = activityId;
        this.userId = userId;
        this.oldAreaLevel = oldAreaLevel;
        this.newAreaLevel = newAreaLevel;
        this.coinBefore = coinBefore;
        this.costCoin = costCoin;
        this.coinAfter = coinAfter;
        this.upgradeJieJiReward = upgradeJieJiReward;
        this.date = date;
    }

    public int getActivityId() {
        return activityId;
    }

    public void setActivityId(int activityId) {
        this.activityId = activityId;
    }

    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public int getOldAreaLevel() {
        return oldAreaLevel;
    }

    public void setOldAreaLevel(int oldAreaLevel) {
        this.oldAreaLevel = oldAreaLevel;
    }

    public int getNewAreaLevel() {
        return newAreaLevel;
    }

    public void setNewAreaLevel(int newAreaLevel) {
        this.newAreaLevel = newAreaLevel;
    }

    public long getCoinBefore() {
        return coinBefore;
    }

    public void setCoinBefore(long coinBefore) {
        this.coinBefore = coinBefore;
    }

    public long getCostCoin() {
        return costCoin;
    }

    public void setCostCoin(long costCoin) {
        this.costCoin = costCoin;
    }

    public long getCoinAfter() {
        return coinAfter;
    }

    public void setCoinAfter(long coinAfter) {
        this.coinAfter = coinAfter;
    }

    public String getUpgradeJieJiReward() {
        return upgradeJieJiReward;
    }

    public void setUpgradeJieJiReward(String upgradeJieJiReward) {
        this.upgradeJieJiReward = upgradeJieJiReward;
    }

    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }
}
